package com.hl.shifangzhiyu.mapper;

import com.hl.shifangzhiyu.pojo.Consultant1s;
import com.hl.shifangzhiyu.pojo.Regions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【regions(地域表)】的数据库操作Mapper
* @createDate 2025-06-05 19:19:27
* @Entity com.hl.shifangzhiyu.entity.Regions
*/
@Mapper
public interface RegionsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Regions record);

    int insertSelective(Regions record);

    Regions selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Regions record);

    int updateByPrimaryKey(Regions record);


    @Select("select * from regions")
    List<Regions> listAll();
}
